﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;

namespace Presentation.WebApp.Mods.Front
{
    public partial class ucLayoutNavigation : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

           lblDate.Text = GetCurrentDateTime(null);
        }
        protected string GetCurrentDateTime(string culture)
        {
            string format = "dddd,dd MMMM yyyy";
            if (string.IsNullOrEmpty(culture))
            {
                culture = "vi-VN";
            }
            CultureInfo ci = new CultureInfo(culture);
            return DateTime.Now.ToString(format, ci);
        }
    }
}